- 
		Home
	
 
	- 
Lootly Loyalty & Rewards
 
- 
1.41 (latest)
 
- 
Code
 
- 
Classes
 
-  Events 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											68 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											421 | 
										
																			
											| Lines of code | 
											362 | 
										
																			
											| Logical lines of code | 
											184 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											24 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| update_lootly_orders() | 
									B  | 
																	37 | 
													15 | 
													77 | 
							
					
				| get_order_data() | 
									A  | 
																	39 | 
													12 | 
													64 | 
							
					
				| lootly_apply_coupon() | 
									A  | 
																	46 | 
													9 | 
													39 | 
							
					
				| refunds_create() | 
									S  | 
																	47 | 
													6 | 
													35 | 
							
					
				| get_customer_data() | 
									S  | 
																	47 | 
													5 | 
													39 | 
							
					
				| orders_paid() | 
									S  | 
																	55 | 
													1 | 
													19 | 
							
					
				| customers_create() | 
									S  | 
																	55 | 
													1 | 
													19 | 
							
					
				| instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| check_user() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| add_order_note() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| customers_login() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| on_coupon_removed() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| lootly_auto_apply_coupon() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| init() | 
									S  | 
																	61 | 
													1 | 
													11 | 
							
					
				| update_lootly_order_object_save() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| customers_update() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getCustomerIdByEmail() | 
									S  | 
																	65 | 
													1 | 
													10 | 
							
					
				| lootly_apply_coupon_redeem() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| __construct() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| __clone() | 
									S  | 
																	91 | 
													1 | 
													2 |